import request from "@/utils/request.js";

// 获取轮播图列表
export const getSwiperList = (data) => {
	return request.get('/fenxiao-swiper/get-swiper-img-list', data)
}

// 获取公告通知
export const getNotice = (data) => {
	return request.get('/fenxiao-notice/get-notice-list', data)
}

// 获取热门案例
export const getHotCase = (data) => {
	return request.get('/fenxiao/get-host-case', data)
}

// 获取楼盘列表
export const getPropertyList = (data) => {
	return request.get('/fenxiao/property/page', data)
}

// 获取福利
export const getBenefits = (data) => {
	return request.post(`/fenxiao/receive-new-user-benefit?wxUserId=${data.wxUserId}`, data)
}